package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("trade_info")
public class TradeInfo {
    @TableId(type = IdType.AUTO)
    private Long tradeId;
    private String cardId;
    private String tradeType; // deposit, withdraw, transfer
    private BigDecimal tradeMoney;
    private Date tradeDate;
    private String remark;
}